﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BZOrderPrint.DAL.Entity
{

    [Table("bz_order")]
    public class BzOrderEntity
    {
        [Column("id")]
        public int Id { get; set; }

        [Column("create_time")]
        public DateTime CreateTime { get; set; }

        [Column("order_code")]
        public string OrderCode { get; set; }

        [Column("order_shop_name")]
        public string OrderShopName { get; set; }

        [Column("order_shop_id")]
        public int OrderShopId { get; set; }

        [Column("order_datetime")]
        public DateTime? OrderDateTime { get; set; }

        [Column("order_type")]
        public int OrderType { get; set; }

        [Column("order_status")]
        public int OrderStatus { get; set; }

        [Column("pay_type")]
        public int PayType { get; set; }

        [Column("member_number")]
        public string MemberNumber { get; set; }

        [Column("member_name")]
        public string MemberName { get; set; }

        [Column("phone")]
        public string Phone { get; set; }

        [Column("address")]
        public string Address { get; set; }

        [Column("remark")]
        public string Remark { get; set; }


        [Column("order_price")]
        public double? OrderPrice { get; set; }


        [Column("ship_method")]
        public int ShipMethod { get; set; }

        [Column("is_group")]
        public int IsGroup { get; set; }
    }
}
